#ifndef EXPLOSION_H
#define EXPLOSION_H

#include <iostream>
#include <vector>
#include <SDL/SDL.h>

using namespace std;

class point {
    public :
        point(double x, double y) { this->x = x; this->y = y; }
        double x;
        double y;
};

class Explosion
{
    public:
        Explosion(double x, double y, double angle, double vitesse);
        virtual ~Explosion();

        void Draw();

        bool isTerminated();

        void Deplacer();

    protected:
    private:
        double x;
        double y;
        double angle;
        double vitesse;

        vector<point*> lstExplosion;

        Uint32 startTime;
};

#endif // EXPLOSION_H
